#include <stdio.h>

int Sum(int s,int x)
{
    int sum = 0;
    for(int i = s;i <= x;i++)
    {
        sum+=i;
    }
    return sum;
}

int Add(int x,int y)
{
    return x+y;
}

int div(int x,int y)
{
    if(y == 0)
        return -1;
    return x/y;
}

int main()
{
    printf("Process is running.\n");

    int sum = Sum(1,100);

    int r1 = Add(1,100);
    int r2 = div(1,0);
    printf("Process is done. %d\n",sum);

    printf("Process is done. %d\n",r1);

    printf("Process is done. %d\n",r2);
    return 0;
}

